﻿using System.ComponentModel.DataAnnotations;

namespace _2022_2_28.Areas.StudentArea.Models.Students
{
    public class ChangePwdViewModel
    {
        [Required(ErrorMessage="{0}不能为空")]
        [Display(Name ="原密码")]
        public string Pwd { get; set; }

        [Required(ErrorMessage = "{0}不能为空")]
        [StringLength(16, MinimumLength = 8)]
        [Display(Name = "现密码")]
        public string NewPwd { get; set; }
    }
}
